import {
  ajax
} from '../utils/http-request.js'


export const getUserInfo = (param = {}) => {
  const url = `getInfo`
  return ajax(url, param, {
    method: 'get'
  })
}

export const getUserProfile = (param = {}) => {
  const url = `system/user/profile`
  return ajax(url, param, {
    method: 'get'
  })
}

export default {
  getUserInfo,
  getUserProfile
}